from pydub import AudioSegment

filename = 'meirenyu_pianduan.mp3'
audio = AudioSegment.from_file(filename, format='mp3')
samples = audio.get_array_of_samples()
new_samples = [sample * 2 for sample in samples]
new_audio = AudioSegment(new_samples, frame_rate=audio.frame_rate, sample_width=audio.sample_width, channels=audio.channels)
new_audio.export(filename.removesuffix('.mp3')+'_rise.mp3', format='mp3')
